<template>
	<view class="container">
		<!-- <TextNavBar :title="title"></TextNavBar> -->
		<PageRender :page="page" v-if="isInit" theme="default"></PageRender>
	</view>
</template>

<script>
	export default {
		name: "rule",
		data() {
			return {
				isInit: false,
				type: '',
				page: {
					
				},
				status:0,
			}
		},
		computed: {
		},
		watch: {
		},
		onLoad(e) {
			this.type = e.type
			this.loadData()
		},
		methods: {
			st_loadData(){
				let st = true;
				if(st == 1){
					console.info(1)
				}
			},
			st_list(){
				let status = true;
				if(status){
					status = false;
					console.info(222)
				}
			},
			st_pay(){
				let s = 1;
				if(s == 1){
			
				}else if(s == 2){
				
				}
			},
			loadData () {
				this.$http('/setting/user_statement').then(res => {
					this.page = res.data.setting
					this.isInit = true
				})
			}
		}
	}
</script>

<style lang="scss">
	.rule-image {
		width: 100%;
		display: block;
	}
	
	.st_main{
		background-color: transparent;
		font-size: 28rpx;
		font-weight: bold;
		display: flex;
		flex-direction: row;
	}
	.st_list{
		background-color: transparent;
		display: flex;
		font-size: 28rpx;
	}
</style>
